package com.lechi.web.common.utils.sms;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 腾讯云短信配置.
 *
 * @author yg
 */
@Data
@Component
@PropertySource({"classpath:qcloud-sms.properties"})
@ConfigurationProperties(prefix = "sms.qcloud-v3")
public class QCloudV3Properties {

    /**
     * 腾讯云 SecretID.
     */
    private String secretId;

    /**
     * 腾讯云 SecretKey.
     */
    private String secretKey;

    /**
     * 短信应用ID.
     */
    private String smsAppId;

    /**
     * 短信签名.
     */
    private String smsSign;

    /**
     * 模版ID.
     */
    private String templateID;

}
